package com.jy.event.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * Created by hanxi on 2017/7/17.
 */
@Entity
@Data
@NoArgsConstructor
public class WorkShift {
    @Id
    @Column(length = 50)
    private String id;
    private String storeId;
    private String storeName;

    private Date beginTime;

    private Date endTime;

    /**
     * 是否关班
     */
    @Column(name = "is_closed")
    private boolean closed = false;

}